package com.atguigu.gulimall.ware.dao;

import com.atguigu.gulimall.common.to.SkuHasStockVo;
import com.atguigu.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品库存
 * 
 * @author mjh
 * @email 915066473@qq.com
 * @date 2024-07-15 00:05:46
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    List<WareSkuEntity> getSkuStockBySkuIds(@Param("skuIds") List<Long> skuIds);
}
